LWS\WOOREWARDS\PointDiscount C

Total Complexity 124
Dependencies 5
Dependents 1
Total lines 577
Lines of code 440
Logical lines of code 272
Comment lines 51
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
fromCode()
B
39 16 61
getPaymentFromOrder()
B
39 15 66
reserveAmount()
A
44 13 41
preventAddDiscount()
A
49 13 28
pay()
A
43 9 48
asData()
A
52 9 25
remove()
S
53 7 21
asError()
S
54 6 21
check()
S
57 4 16
asLabel()
S
60 4 14
getLabel()
S
60 4 12
setOrderFailed()
S
61 4 12
asCode()
S
63 4 11
install()
S
56 2 15
getPayOrderStatus()
S
69 3 6
getTitle()
S
67 2 7
fromOrderItem()
S
65 2 9
createOrderItem()
S
66 2 9
getPool()
S
65 2 8
emptied()
S
68 2 7
poedit()
S
80 1 3